<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="UTF-8"/>
        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title>Document</title>
    </head>
    <body>
        <style> 
        *{border:1px solid blue} 
        a{display:block;font-size:10px}; 
        </style> 
        <div id="d" style="width:300px;height:200px;"> 
        <a href="javascript:">1,河北，</a> 
        <a href="javascript:">2,辽宁 </a> 
        <a href="javascript:">3,山东，</a> 
        <a href="javascript:">4,河南</a> 
        </div> 
        <script> 
        var t=setInterval(myfunc,1000) 
        function myfunc(){ d.appendChild(d.firstChild)} 
        d.onmouseover=function(){clearInterval(t)} 
        d.onmouseout=function(){t=setInterval(myfunc,1000)} 
        </script>
    </body>
</html>